package simulator.types;

import simulator.enums.Direction;
import simulator.enums.LaneType;

public class Lane
{
	protected Direction _direction;
	protected LaneType	_laneType;
		
	public Lane(Direction d, LaneType t)
	{
		_direction = d;
		_laneType = t;
	}
	
	public Direction getDirection()
	{
		return _direction;
	}
	
	public LaneType getType()
	{
		return _laneType;
	}
	
	@Override
	public String toString()
	{
		return _direction.getName() + _laneType.getID();
	}
}